package com.isxcode.link.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

@Data
@Component
@ConfigurationProperties(prefix = "link.plugin")
public class LinkPluginProperties {

    /**
     * 服务器密钥
     */
    private String serverKey = "star-key";

    /**
     * 相关的kafka配置
     */
    private Map<String, String> kafkaConfig;

    /*
     * 临时目录
     *
     * @ispong
     */
    private String tmpDir = "/opt/sqoop-link/tmp";
}
